home *** CD-ROM | disk | FTP | other *** search
/ Surfin' Sam - A Hilariously Interactive Game / Surfin Sam.iso / pc / sam_232.dir / 00101.ls < prev    next >
Encoding:
Text File  |  1995-07-17  |  1.3 KB  |  55 lines

  1. on enterFrame
  2.   global genS
  3.   puppetSprite(23, 1)
  4.   puppetSprite(24, 1)
  5.   puppetSprite(7, 0)
  6.   puppetSprite(3, 0)
  7.   puppetSprite(5, 0)
  8.   puppetSprite(6, 0)
  9.   puppetSprite(11, 0)
  10.   sound stop 1
  11.   sound stop 2
  12.   set the sound of cast 480 to 1
  13.   set the visible of sprite 9 to 1
  14.   set the visible of sprite 3 to 0
  15.   set the visible of sprite 5 to 0
  16.   set the visible of sprite 6 to 0
  17.   set the visible of sprite 7 to 0
  18.   set the visible of sprite 8 to 0
  19.   set the visible of sprite 12 to 0
  20.   set the visible of sprite 13 to 0
  21.   set the visible of sprite 14 to 0
  22.   set the visible of sprite 16 to 0
  23.   if rollOver(17) then
  24.     set the visible of sprite 8 to 1
  25.   end if
  26.   if rollOver(18) then
  27.     set the visible of sprite 12 to 1
  28.   end if
  29.   if rollOver(19) then
  30.     set the visible of sprite 13 to 1
  31.   end if
  32.   if rollOver(20) then
  33.     set the visible of sprite 14 to 1
  34.   end if
  35.   if rollOver(21) then
  36.     set the visible of sprite 16 to 1
  37.   end if
  38.   if the movieTime of sprite 9 = the duration of cast 480 then
  39.     puppetSprite(3, 1)
  40.     puppetSprite(5, 1)
  41.     puppetSprite(6, 1)
  42.     puppetSprite(7, 1)
  43.     set the visible of sprite 9 to 0
  44.     set the visible of sprite 2 to 1
  45.     set the visible of sprite 3 to 1
  46.     set the visible of sprite 5 to 1
  47.     set the visible of sprite 6 to 1
  48.     set the visible of sprite 7 to 1
  49.   end if
  50. end
  51.  
  52. on exitFrame
  53.   go(the frame)
  54. end
  55.